package com.itheima.demo001;

public class Ideal {
    private  String name;//名字
    private int age;//年龄
    private String gender;//性别
    private String hobby;//爱好
    private String type;//类型

    public Ideal() {
    }

    public Ideal(String name, int age, String gender, String hobby, String type) {
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.hobby = hobby;
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }


}
